Carbon


GetIconFamilyData

Header: Icons.h Carbon status: Supported

Obtains a copy of the data for a specified icon family.

OSErr GetIconFamilyData (
    IconFamilyHandle iconFamily, 
    OSType iconType, 
    Handle h
);
iconFamily

A handle to an iconFamily data structure to use as a source for icon data.

iconType

The format of the icon data passed to you.You may specify one of the icon types (such as 'icns') or 'PICT' in this parameter.

h

A handle to the icon data being returned. Icon Services resizes this handle as needed. If no data is available for the specified icon family, Icon Services sets the handle to 0.

function result

A result code.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when IconServicesLib 8.5 or later is installed. Exported by CarbonLib 1.0 and later and by IconServicesLib 8.5 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/18/2000)